#pragma once

#include <QObject>
#include <QVector>
#include "port3dapi_global.h"

class PORT3DAPI_EXPORT IntArray:public QObject
{
	Q_OBJECT
		Q_CLASSINFO("ClassID", "{ae13a8cd-8ee8-438e-b1e1-27a724e3c810}")
		Q_CLASSINFO("InterfaceID", "{a0192458-5625-4eb1-a5ca-00a239d3015e}")
		Q_CLASSINFO("EventsID", "{78b3b173-58d5-48f8-92fe-84223f0ff1a5}")
public:
	IntArray(QObject *parent = 0);
	IntArray(const IntArray & u);
	~IntArray();
public slots:
	void addValue(int value);
	void removeValueByIndex(int index);
	int indexOf(int value);
	void clear();
	int size();
public:
	QVector<int>							_valueVector;
};